home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Data
/
Data.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
439b
|
28 lines
// Data.h
#ifndef Data_h
#define Data_h
#ifndef ArrayOf_h
#include "ArrayOf.h"
#endif
class Data: public ArrayOf<uint8>
{
public:
Data() {}
Data( ArrayOf<uint8> array )
: ArrayOf<uint8>( array )
{}
Data( void *theStart, uint32 theLength )
: ArrayOf<uint8>( static_cast<uint8 *>(theStart), theLength )
{}
uint32 operator<<( ConstArrayOf<uint8> r ) const
{ return BitwiseCopy( r ); }
};
#endif